/*
 *  ReadAst.h
 *  TempWorking
 *
 *  Created by Piotr Holc on 20/11/2010.
 *  Copyright 2010 Langerra Limited. All rights reserved.
 *
 */

#ifndef READAST_H_
#define READAST_H_

#include <MAlice/Ast/VariableAst.h>
#include <MAlice/Ast/ExpressionAst.h>

namespace MAlice {
	
	class ReadAst: public MAlice::ExpressionAst {
	private:
		VariableAst* mVar;
	public:
		ReadAst(location loc, VariableAst *var);
		virtual ~ReadAst();
		virtual llvm::Value* generate();
	};
	
}

#endif /* READAST_H_ */
